<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>书评 - 夜读书</title>
    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="author" content="夜读书">
    <meta name="description" content="夜读书的书友分享的书单。">
    <meta name="keywords" content="夜读书，书单">
    <link rel="stylesheet" href="{{ asset('/bootstrap-3.3.5-dist/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/style/css/mobile.css') }}">    
    <script src="{{ asset('/scripts/jquery/jquery-1.11.3.min.js') }}"></script>
    <script src="{{ asset('/bootstrap-3.3.5-dist/js/bootstrap.min.js') }}"></script>
</head>
<body>
@include('mobile.nav')
<div id="shuping">

    <div class="splist">
        <div class="spdh">
            <div class="">最受欢迎的书评</div>                
        </div>
        @foreach($booksreviews as $booksreview)
        <a href="{{url('mobile/shupinginfo/'. $booksreview->id)}}">
        <div class="spitem">
            <img class="bimg" style="float:left;" src="http://www.yedushu.com/{{$booksreview->books->bimg}}"></img>
            <dl style="margin-left: 5.5em;">
                <dt class="title">{{$booksreview->title}}</dt>
                <dt class="zhaiyao">{{mb_substr(strip_tags($booksreview->bookreview), 0, 30)}}......</dt>
                <dt class="zuozhe">{{$booksreview->users->user_name}} 评论 《{{$booksreview->books->book_name}}》</dt>
            </dl>
            <div style="clear:both"></div>
        </div>
        </a>
        @endforeach
    </div>

    <div class="simplePaginate"> 
        {!! $booksreviews->render() !!}
    </div>
        
</div> 

@include('mobile.footer')
</body>
</html>